{%include file="m.index.header.tpl.php"%}
<!--主体部分-->
<div class="container" style="margin-top:70px;"> 

  <div class="row" style="margin-top:15px;margin-left:1px; margin-right:1px;" >
    <table class="table table-striped table-bordered text-center"  id="middles" >    
		<tr>
			<td>年级名称</td>
			<td>班级名称</td>
			<td>班数</td>
			<td>男生数量</td>
			<td>女生数量</td>
			<td>总人数</td>
		</tr>
		{%foreach from=$grade_lists item=value%}
		<tr>
			<td>{%$value.grade_name%}</td>
			<td> </td>
			<td>{%$value.class_count%}</td>
			<td>{%$value.men_count%}</td>
			<td>{%$value.women_count%}</td>
			<td>{%$value.all%}</td>
		</tr>
		{%foreach from=$value.class_lists item=v%}
		<tr>
			<td>  </td>
			<td>{%$v.class_name%}</td>
			<td> </td>
			<td>{%$v.man%}</td>
			<td>{%$v.women%}</td>
			<td>{%$v.all%}</td>
		</tr>
		{%/foreach%}
		{%/foreach%}
		<tr>
			<td>全校人数</td>
			<td> </td>
			<td> </td>
			<td>{%$student_ment.count%}</td>
			<td>{%$student_woment.count%}</td>
			<td>{%$student_count.count%}</td>
		</tr>
	</table>
  </div>
</div>
<!--container  end--> 
<!--主体部分  end--> 
<!--底部-->
{%include file="m.index.footer.tpl.php"%} 